package com.mirei.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mirei
 */
@RestController
public class LoginController {

    @RequestMapping("/index")
    public String index(){
        return "欢迎 登录成功";
    }

    @RequestMapping("/hello")
    public String hello(){
        return "hello 接口";
    }
}
